﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MQHelper;

namespace Customer
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("消费者");
            //// 创建消息bus

            MqManage.Subscribe(new MyMessage
            {
                MessageId = "2",
                MessageRouter = "ro2"
                //MessageBody=DateTime.Now.ToString(),
                //MessageTitle="title"+DateTime.Now
            });
        }
    }
}
